* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  color: #333;
  background-color: #f4f4f4;
}
.painter {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  /* background-color: pink; */
  margin-top: 100px;
}

/* 信息流 */
.left_box {
  /* position: absolute;
  left: 0; */
  width: 793px;
  height: 794px;
  background-color: #fff;
  padding: 30px 30px 14px;
  margin-bottom: 20px;
}
.painter_info {
  display: flex;
  width: 100%;
  height: 80px;
  align-items: center;
}
.painter_info .face_img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}
.painter_info_middle {
  flex: 1;
  display: flex;
  height: 100%;
  margin-left: 16px;
  flex-direction: column;
  justify-content: space-between;
}
.painter_name {
  font-size: 16px;
  margin-top: 8px;
}
.painter_num {
  display: flex;
  font-size: 18px;
}
.painter_num_item {
  position: relative;
  padding-right: 20px;
  margin-left: 18px;
  user-select: none;
}
.painter_num_item:first-child {
  margin-left: 0;
}
.painter_num_item i {
  color: #ccc;
  font-size: 18px;
}
/* 关注 */
.icon-friendaddfill:nth-child(2) {
  position: absolute;
  top: 2.1px;
  left: 0;
  display: none;
  color: red;
  z-index: 99999999;
}
/* 爱心 */
.icon-likefill:nth-child(n + 2) {
  position: absolute;
  top: 6px;
  left: 6px;
  display: none;
  color: red;
}
.star {
  position: relative;
  width: 18px;
  display: inline-block;
}
/* 星星 */
.painter_num .icon-favorfill:nth-child(n + 2) {
  position: absolute;
  top: 2px;
  left: 0;
  display: none;
  color: red;
}
.painter_num_item:nth-child(-n + 2):after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: #eee;
}
/* 关注按钮 */
.painter_info .follow_btn {
  width: 90px;
  height: 40px;
  background-color: #f8cf39;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;
  user-select: none;
  cursor: pointer;
}
.painter_content {
  margin-top: 20px;
  font-size: 14px;
  color: #717171;
  line-height: 28px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.work_list {
  width: 100%;
  height: 564px;
  margin-top: 30px;
}
.work_list > div {
  position: relative;
  float: left;
  width: 172px;
  height: 172px;
  margin-right: 16px;
  margin-bottom: 16px;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.work_list > div img {
  transition: all 0.4s;
}

.work_list > div p {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding: 0 12px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(180deg, transparent, #000);
  display: none;
}
.work_list > div:hover p {
  display: block;
}
.work_list > div:hover img {
  transform: translate3d(0, -2px, 0);
}

/* 热门画师 */
.right_box {
  position: absolute;
  right: 0;
  top: 0;
  width: 386px;
  height: 479px;
  /* background-color: purple; */
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
.right_title {
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}
.hot_painter {
  width: 386px;
  height: 419px;
}
.swiper-container {
  padding: 18px;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  flex-wrap: wrap;
}
.slide-img {
  position: relative;
  width: 166px;
  height: 240px;
  margin-top: -8px;
  overflow: hidden;
}
.slide-img img {
  transition: all 0.3s;
}
.slide-img:hover img {
  transform: scale(1.04);
}
.slide-img a p {
  display: none;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding: 0 12px;
  color: #fff;
  font-size: 14px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(transparent),
    to(#000)
  );
  background: linear-gradient(180deg, transparent, #000);
  border-radius: 0 0 4px 4px;
}
.slide-img:hover a p {
  display: block;
}
.head-img {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head-img a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}
.head-img p {
  color: #666;
  font-size: 14px;
}
/* 二维码  下载 */
.app-download {
  position: fixed;
  height: 224px;
  width: 139px;
  border-radius: 4px;
  border: 2px solid #f8cf39;
  background-size: 100% 100%;
  right: calc(50% + 620px);
  top: 415px;
  background: #fff;
}

.app-download .qq-group {
  text-align: center;
  margin-top: 5px;
}

.app-download .qq-group .qq-group-title {
  color: #333;
  font-size: 14px;
}

.app-download .qq-group a {
  display: block;
  margin: 2px auto 0;
  width: 80px;
  height: 20px;
  line-height: 20px;
  background: #55b0dc;
  border-radius: 2px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.app-download .app-desc {
  font-size: 10px !important;
  width: 100%;
  margin-top: 2px;
  color: #999;
  text-align: center;
  white-space: nowrap;
}

.app-download .qrcode {
  display: block;
  width: 80px;
  height: 80px;
  margin: 15px auto 0;
}

/* 返回顶部 */
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(232, 98, 86, 0.8) url(../images/cd-top-arrow.svg) no-repeat
    center 50%;
  visibility: hidden;
  opacity: 1;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 9999999;
}
.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 0.5;
}
.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}

/* 还没写呢 */
.dnm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999999;
  display: none;
}
.dnm span {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  color: #61649f;
  user-select: none;
}
.bubble {
  z-index: 9999999 !important;
  opacity: 0.5;
}
